package admin.server.model.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 用户登录参数
 * Created by zgb on 2018/4/26.
 */
@Schema(description = "登录 参数对象")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class UmsAdminLoginParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "用户名", required = false)
    private String username;

    @Schema(description = "密码", required = false)
    private String password;
    @Schema(description = "密码是否加密", required = false)
    private Boolean passwordEncodeYn=false;


    @Schema(description = "飞书授权码", required = false)
    private String feiShuCode;



    @Schema(description = "登录模式", required = true)
    private Integer loginModeValue;




}
